package com.example.demo2.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.concurrent.ConcurrentHashMap;
@Configuration
public class MapConfig {
    @Bean
    public ConcurrentHashMap<String, Integer> concurrentMap() {
        return new ConcurrentHashMap<>();
    }

}